package com.ecoolex.chinadutyfree.retailer.core.mapper;

import com.ecoolex.chinadutyfree.retailer.entity.GoodsAfterService;
import com.ecoolex.chinadutyfree.retailer.entity.GoodsAfterServiceExample;
import com.ecoolex.framework.common.annotation.Description;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface GoodsAfterServiceMapper {
    long countByExample(GoodsAfterServiceExample example);

    int deleteByExample(GoodsAfterServiceExample example);

    int deleteByPrimaryKey(Integer afterServiceId);

    int insert(GoodsAfterService record);

    int insertSelective(@Param("record") GoodsAfterService record, @Param("selective") GoodsAfterService.Column ... selective);

    GoodsAfterService selectOneByExample(GoodsAfterServiceExample example);

    GoodsAfterService selectOneByExampleWithBLOBs(GoodsAfterServiceExample example);

    List<GoodsAfterService> selectByExampleWithBLOBs(GoodsAfterServiceExample example);

    List<GoodsAfterService> selectByExample(GoodsAfterServiceExample example);

    GoodsAfterService selectByPrimaryKey(Integer afterServiceId);

    GoodsAfterService selectByPrimaryKeyWithLogicalDelete(@Param("afterServiceId") Integer afterServiceId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") GoodsAfterService record, @Param("example") GoodsAfterServiceExample example, @Param("selective") GoodsAfterService.Column ... selective);

    int updateByExampleWithBLOBs(@Param("record") GoodsAfterService record, @Param("example") GoodsAfterServiceExample example);

    int updateByExample(@Param("record") GoodsAfterService record, @Param("example") GoodsAfterServiceExample example);

    int updateByPrimaryKeySelective(@Param("record") GoodsAfterService record, @Param("selective") GoodsAfterService.Column ... selective);

    int updateByPrimaryKeyWithBLOBs(GoodsAfterService record);

    int updateByPrimaryKey(GoodsAfterService record);

    int batchInsert(@Param("list") List<GoodsAfterService> list);

    int batchInsertSelective(@Param("list") List<GoodsAfterService> list, @Param("selective") GoodsAfterService.Column ... selective);

    int logicalDeleteByExample(@Param("example") GoodsAfterServiceExample example);

    int logicalDeleteByPrimaryKey(Integer afterServiceId);
}